package com.gitee.c0dehvb.reactive.sample.repository;

import com.gitee.c0dehvb.reactive.sample.model.MediumCommentPO;
import org.springframework.data.repository.reactive.ReactiveSortingRepository;
import reactor.core.publisher.Flux;

/**
 * @author LiYilin
 * @since 2022/5/27 5:40 PM
 **/
public interface MediumCommentDao extends ReactiveSortingRepository<MediumCommentPO, Long> {
    Flux<MediumCommentPO> findAllByMediumSalesId(long mediumSalesId);
}
